/**
 * author:龚佳新 date:2013-08-13 
 * 杜邦模型 方法全部抽取 为目前最精简模式
 */
Cnbi.model.Dupont = function(params) {
	Cnbi.model.BaseSliderAndProgress.call(this, params);
	var scope = this, domArray = params["domArray"];
	this.initPage = function() {
		if (!scope.flag) {
			CnbiSoft.setCurrentRenderer("JavaScript");
		}
		setFormula(false);
		scope.setSliderValue(params.slider_array, scope.datas, "Idinput");
		scope.setProgressValue(params.progress_array,scope.datas, "Idspan");
		this.initChart(true);		
	}
	/* this.initBefore=function(){
	 	var fomu = params["assistsFormulas"];
	      for(var i=0;i<fomu.length;i++){
		           var o = {id:0,vaprefix:scope.vaprefix,datas:scope.datas};
		            scope.getDefinedIndicatorObjResult(o,fomu[i]);
		            scope.datas[fomu[i]["scode"]] = o.result;
				
			}
    }*/
	this.initChart=function(action){
		var jzcsyv = scope.toolsMap["jzcsyv"]["scode"],zzczzv = scope.toolsMap["zzczzv"]["scode"];
	/*	console.info(scope.industyParams[jzcsyv]);
		alert(scope.datas[zzczzv]-0);
		alert(scope.datas[jzcsyv]-0);
		console.info(scope.industyParams[zzczzv]);*/
		    var obj1={domId:domArray[0],datas:scope.datas[jzcsyv]-0,range:scope.industyParams[jzcsyv],title:'净资产收益率'},
      		obj2={domId:domArray[1],datas:scope.datas[zzczzv]-0,range:scope.industyParams[zzczzv],title:'总资产周转率'};
    	  if(action)new Cnbi.model.Chart(getAngularGaugeObj1(obj1));//-2.5,1.2,5.6,7.8
    	  if(action)new Cnbi.model.Chart(getAngularGaugeObj2(obj2));
    	  }
	var upperLimit = 0.00;
	 function getAngularGaugeObj1(params){//caption="'+params["title"]+'"
		 var range = params["range"];upperLimit=range["excellent"]-0;	
	     	if((params["datas"]-0)>upperLimit){
	     		upperLimit = params["datas"]-0;
	     	}
		  
	    var dialsAttr=' bgColor="000000,4D4D4D" borderAlpha="0" baseWidth="18" topWidth="1" rearExtension="40" valueY="225" radius="60" ',
        attributes=' manageResize="1" bgAlpha="0" origW="420"  origH="250"  manageValueOverlapping="1" numberSuffix="%" showValue="1" showTickValues="1"  tickValueDistance="-90" tickvaluestep="3" bgColor="FFFFFF" showLimits="15"  lowerLimitDisplay="差" upperLimitDisplay="好" upperLimit="'+upperLimit+'" lowerLimit="'+range["lowers"]+'" baseFontColor="000000"  majorTMNumber="11" majorTMColor="2F2E2E"  majorTMHeight="20" majorTMThickness="1.5" minorTMNumber="4" minorTMColor="2F2E2E" minorTMHeight="10" showGaugeBorder="0" gaugeOuterRadius="90" gaugeInnerRadius="60" gaugeOriginX="180" gaugeOriginY="150" gaugeAlpha="50" placeValuesInside="1" toolTipBgColor="FFFFFF" toolTipBorderColor="CCCCCC" gaugeFillMix="" showShadow="0" annRenderDelay="0" pivotRadius="13" pivotFillMix="{E6E6E6},{999999}" pivotBorderColor="bebcb0" pivotFillRatio="70,30" showBorder="0" gaugeStartAngle="230" gaugeEndAngle="-50" ',
        //attributes='manageResize="1" showValue="1"  origW="330" showBorder="0" origH="170" showTickValues="0" numberSuffix="%" baseFontColor="000000" animation="1" autoAlignTickValues="1"  tickValueDistance="1" bgColor="FFFFFF" bgAlpha="100" lowerLimit="'+range["lowers"]+'" upperLimit="'+range["excellent"]+'" gaugeStartAngle="180" gaugeEndAngle="0" gaugeOuterRadius="-80" gaugeInnerRadius="100" gaugeOriginX="165" gaugeOriginY="130" minorTMNumber="5" majorTMColor="000000" minorTMColor="000000" majorTMHeight="15" majorTMThickness="1" minorTMHeight="10" minorTMThickness="1" decmials="2" placeValuesInside="1" pivotFillMix="87CEFF, 25588A" pivotFillRatio="50,50" pivotBorderThickness="40" pivotBorderColor="CCCCCC" pivotRadius="15" showShadow="0" toolTipBgColor="FFFFFF"',
    	annotations='<annotationGroup x="180" y="150" showBelow="1">\n\
			<annotation  type="circle" x="0" y="0" radius="115" fillColor="35BADC,35BDDF, C5F4FF"  fillRatio="70,20, 10" borderColor="35BADC" />\n\
			<annotation type="circle" x="0" y="0" radius="100" fillColor="FFFFFF, FFFFFF" fillRatio="20,80" borderColor="FFFFFF" />\n\
			<annotation type="circle" x="0" y="0" radius="100"  fillColor="E6E6E6, FFFFFF" fillAlpha="50" borderColor="E6E6E6" />\n\
		</annotationGroup>',
		  trendpoints='<point startValue="'+range["lowers"]+'" endValue="'+range["average"]+'" valueInside="1" color="FF0000" innerRadius="0" alpha="100" />' +
      			  '<point startValue="'+range["average"]+'" endValue="'+range["good"]+'" valueInside="0" color="EEC900" innerRadius="0" alpha="100" />' +
      			  '<point startValue="'+range["good"]+'" endValue="'+range["excellent"]+'" valueInside="0" color="00CD00" innerRadius="0" alpha="100" />',

      styles='<definition><style type="font" name="a" bgColor="FF0000" size="14" borderColor="FF0000"  baseFontColor="FF0000" /><style name="MyFirstBevel" type="Bevel" /></definition><application><apply toObject="Value" styles="a"/><apply toObject="Value" styles="MyFirstBevel"/></application>';
      return {chartType:0,//图表类型 ：0为单值数据图表;1为多单数据图表;2为多系数据图表
	            swfName:"AngularGauge",//这个就不用说了吧！  //AngularGauge.swf
	            datas:params["datas"],//显示的数据  注意：规定的数据解析格式  numberSuffix="%"
	            domId:params["domId"],//渲染的dom节点
	            attributes:attributes,
	            color:["FF0000","EEC900","00CD00"], //颜色good 
	            dialsAttr:dialsAttr,
	          //  trendpoints:trendpoints,
	            styles:styles,
	            annotations:annotations,
	          	colorRange:[range["lowers"],range["average"],range["good"],upperLimit],//chartType==0时才有此属性
	          	width:290,height:240};
    };
    function getAngularGaugeObj2(params){//caption="'+params["title"]+'"
		 var range = params["range"];upperLimit=range["excellent"]-0;	
	     	if((params["datas"]-0)>upperLimit){
	     		upperLimit = params["datas"]-0;
	     	}
		  
	    var dialsAttr=' bgColor="000000,4D4D4D" borderAlpha="0" baseWidth="18" topWidth="1" rearExtension="40" valueY="225" radius="60" ',
       attributes=' manageResize="1" bgAlpha="0" origW="420"  origH="250"  manageValueOverlapping="1" showValue="1" showTickValues="1"  tickValueDistance="-90" tickvaluestep="3" bgColor="FFFFFF" showLimits="15"  lowerLimitDisplay="差" upperLimitDisplay="好" upperLimit="'+upperLimit+'" lowerLimit="'+range["lowers"]+'" baseFontColor="000000"  majorTMNumber="11" majorTMColor="2F2E2E"  majorTMHeight="20" majorTMThickness="1.5" minorTMNumber="4" minorTMColor="2F2E2E" minorTMHeight="10" showGaugeBorder="0" gaugeOuterRadius="90" gaugeInnerRadius="60" gaugeOriginX="180" gaugeOriginY="150" gaugeAlpha="50" placeValuesInside="1" toolTipBgColor="FFFFFF" toolTipBorderColor="CCCCCC" gaugeFillMix="" showShadow="0" annRenderDelay="0" pivotRadius="13" pivotFillMix="{E6E6E6},{999999}" pivotBorderColor="bebcb0" pivotFillRatio="70,30" showBorder="0" gaugeStartAngle="230" gaugeEndAngle="-50" ',
       //attributes='manageResize="1" showValue="1"  origW="330" showBorder="0" origH="170" showTickValues="0" numberSuffix="%" baseFontColor="000000" animation="1" autoAlignTickValues="1"  tickValueDistance="1" bgColor="FFFFFF" bgAlpha="100" lowerLimit="'+range["lowers"]+'" upperLimit="'+range["excellent"]+'" gaugeStartAngle="180" gaugeEndAngle="0" gaugeOuterRadius="-80" gaugeInnerRadius="100" gaugeOriginX="165" gaugeOriginY="130" minorTMNumber="5" majorTMColor="000000" minorTMColor="000000" majorTMHeight="15" majorTMThickness="1" minorTMHeight="10" minorTMThickness="1" decmials="2" placeValuesInside="1" pivotFillMix="87CEFF, 25588A" pivotFillRatio="50,50" pivotBorderThickness="40" pivotBorderColor="CCCCCC" pivotRadius="15" showShadow="0" toolTipBgColor="FFFFFF"',
   	annotations='<annotationGroup x="180" y="150" showBelow="1">\n\
			<annotation  type="circle" x="0" y="0" radius="115" fillColor="35BADC,35BDDF, C5F4FF"  fillRatio="70,20, 10" borderColor="35BADC" />\n\
			<annotation type="circle" x="0" y="0" radius="100" fillColor="FFFFFF, FFFFFF" fillRatio="20,80" borderColor="FFFFFF" />\n\
			<annotation type="circle" x="0" y="0" radius="100"  fillColor="E6E6E6, FFFFFF" fillAlpha="50" borderColor="E6E6E6" />\n\
		</annotationGroup>',
		  trendpoints='<point startValue="'+range["lowers"]+'" endValue="'+range["average"]+'" valueInside="1" color="FF0000" innerRadius="0" alpha="100" />' +
     			  '<point startValue="'+range["average"]+'" endValue="'+range["good"]+'" valueInside="0" color="EEC900" innerRadius="0" alpha="100" />' +
     			  '<point startValue="'+range["good"]+'" endValue="'+range["excellent"]+'" valueInside="0" color="00CD00" innerRadius="0" alpha="100" />',

     styles='<definition><style type="font" name="a" bgColor="FF0000" size="14" borderColor="FF0000"  baseFontColor="FF0000" /><style name="MyFirstBevel" type="Bevel" /></definition><application><apply toObject="Value" styles="a"/><apply toObject="Value" styles="MyFirstBevel"/></application>';
     return {chartType:0,//图表类型 ：0为单值数据图表;1为多单数据图表;2为多系数据图表
	            swfName:"AngularGauge",//这个就不用说了吧！  //AngularGauge.swf
	            datas:params["datas"],//显示的数据  注意：规定的数据解析格式  numberSuffix="%"
	            domId:params["domId"],//渲染的dom节点
	            attributes:attributes,
	            color:["FF0000","EEC900","00CD00"], //颜色good 
	            dialsAttr:dialsAttr,
	          //  trendpoints:trendpoints,
	            styles:styles,
	            annotations:annotations,
	          	colorRange:[range["lowers"],range["average"],range["good"],upperLimit],//chartType==0时才有此属性
	          	width:290,height:240};
   };
	this.updataInputAfter=function(id ,value,datas ){
		if(id.indexOf("Id")!=-1){
		  id = id.split("Id")[0];
		}
		if(id== scope.toolsMap["yysr"]["scode"]){//cnbi1113pro_Idspan    --cnbi1113pro1Idspan
		     scope.updataSpanAndProgess(id+params["doubleUIFlag"]+"1_Idspan");
		     scope.updataSpanAndProgess(id+params["doubleUIFlag"]+"2_Idspan");
		}else if(id==scope.toolsMap["sds"]["scode"]){
		
		}else{
			scope.updataSpanAndProgess(id+params["doubleUIFlag"]+"_Idspan");
		}
		setFormula(true);   
	};
	/**
	 * 设置所有公式值  114010
	 */
	function setFormula(action) {
		var zzczzv = scope.toolsMap["zzczzv"]["scode"],jzcsyv =scope.toolsMap["jzcsyv"]["scode"];		
	   var o = {id:0,vaprefix:scope.vaprefix,datas:scope.datas};
		// o["id"]=70;
		// scope.getIndicatorResult(o);
		 /* o["id"]=74;
		 scope.getIndicatorResult(o);*/
		// zzczzv = zzczzv.replaceAll(o["vaprefix"],"");
	    // jzcsyv = jzcsyv.replaceAll(o["vaprefix"],"");
		// alert("----zzczzv----"+scope.datas[zzczzv]+"-------jzcsyv----"+scope.datas[jzcsyv]);
		var  chartId=domArray[1].toString()+domArray[2].toString();
	      if(getChartFromId(chartId)){
	           getChartFromId(chartId).setData(1,scope.datas[zzczzv]);
	         
	    	  /*var tempData = scope.datas[params["judgeObj"]["zzczzv"]]-0;
		      if((scope.datas[params["judgeObj"]["zzczzv"]]-0)> upperLimit){
		    	  tempData =upperLimit;
		      }
		      getChartFromId(chartId).setData(1,tempData);*/
	      }
	       
	  	  chartId=domArray[0].toString()+domArray[2].toString();
	  	  if(getChartFromId(chartId)){
	  	      //getChartFromId(chartId).setData(1, scope.datas[jzcsyv]);
	  		  
	  		 var tempData = scope.datas[params["judgeObj"]["jzcsyv"]]-0;
		     if((scope.datas[params["judgeObj"]["jzcsyv"]]-0)> upperLimit){
		    	 tempData =upperLimit;
		     }
		     getChartFromId(chartId).setData(1,tempData);
		 }		      
	}    	
	scope.init();
}

 Ext.onReady(function(){
    // var module={"assistItems":{"assist_Items":[{"id":"qtysk","scode":"10000","sname":"其它应收款"},{"id":"fzze","scode":"1141","sname":"负债总额"}],"qc_Items":[{"id":"zzc","scode":"11N40C","sname":"总资产"}]},"formulas":{"db_formulas":[{"id":"cbfyze","scode":"68","sname":"成本费用总额"},{"id":"zzc","scode":"70","sname":"总资产"},{"id":"shjlr","scode":"71","sname":"税后净利润"},{"id":"xslrv","scode":"73","sname":"销售净利率"},{"id":"qycs","scode":"76","sname":"权益乘数"},{"id":"jzcsyv","scode":"77","sname":"净资产收益率(含少数股东权益)"},{"id":"zcfzv","scode":"17","sname":"资产负债率"}],"userDefined_formulas":[{"exp":"11401010+11401011+11401013+10000","formula":"货币资金+应收账款+存货+其它应收款","id":"ldcz","params":"'11401010','11401011','11401013','10000'","scode":"114010","sname":"流动资产"},{"exp":"1113\/((1140+11N40C)\/2)","formula":"主营业务收入\/((期末资产总计+年初资产总计)\/2)","id":"zzczzv","params":"'1113','1140','11N40C'","scode":"74","sname":"总资产周转率"},{"exp":"((1113-1114+1115+1119+1120+1121-11291012)\\\/1113)*(1113\\\/((1140+11N40C)\\\/2))*100","formula":"((主营业务收入-主营业务成本+主营业务税金及附加+销售费用+管理费用+财务费用-所得税)\/主营业务收入)*(主营业务收入\/((期末资产总计+年初资产总计)\/2))*100","id":"zzcjlv","params":"'1113','1114','1115','1119','1120','1121','11291012','1140','11N40C'","scode":"75","sname":"总资产净利率"}],"assists_formulas":[{"exp":"114010-(1140c1010+1140c1011+1140c1013)","formula":"流动资产-(货币资金+应收账款+存货)","id":"qtysk","params":"'114010','1140c1010','1140c1011','1140c1013'","scode":"10000","sname":"其它应收款"}]},"id":"dopont","items":[{"id":"yysr","scode":"1113","sname":"营业收入"},{"id":"yycb","scode":"1114","sname":"营业成本"},{"id":"yysj","scode":"1115","sname":"营业税金"},{"id":"xsfy","scode":"1119","sname":"销售费用"},{"id":"glfy","scode":"1120","sname":"管理费用"},{"id":"cwfy","scode":"1121","sname":"财务费用"},{"id":"hbzj","scode":"11401010","sname":"货币资金"},{"id":"ch","scode":"11401013","sname":"存贷"},{"id":"sds","scode":"11291012","sname":"所得税"},{"id":"fldzc","scode":"114011","sname":"非流动资产"},{"id":"ldcz","scode":"114010","sname":"流动资产"},{"id":"yszk","scode":"11401011","sname":"应收账款"},{"id":"zzc","scode":"1140","sname":"总资产"}],"queryItemScode":"1113,1114,1115,1119,1120,1121,11401010,11401013,11291012,114011,114010,11401011,1140,10000,1141;11N40C","sliderItemScode":"1113,1114,1115,1119,1120,1121,11401010,11401013,11291012,114011,114010,11401011,1140","title":"杜邦预测模型","toolsMap":{"hbzj":{"id":"hbzj","scode":"11401010","sname":"货币资金"},"cbfyze":{"id":"cbfyze","scode":"68","sname":"成本费用总额"},"qtysk":{"id":"qtysk","scode":"10000","sname":"其它应收款"},"sds":{"id":"sds","scode":"11291012","sname":"所得税"},"glfy":{"id":"glfy","scode":"1120","sname":"管理费用"},"xslrv":{"id":"xslrv","scode":"73","sname":"销售净利率"},"zzcjlv":{"id":"zzcjlv","scode":"75","sname":"总资产净利率"},"fzze":{"id":"fzze","scode":"1141","sname":"负债总额"},"jzcsyv":{"id":"jzcsyv","scode":"77","sname":"净资产收益率(含少数股东权益)"},"zzczzv":{"id":"zzczzv","scode":"74","sname":"总资产周转率"},"fldzc":{"id":"fldzc","scode":"114011","sname":"非流动资产"},"qycs":{"id":"qycs","scode":"76","sname":"权益乘数"},"yysr":{"id":"yysr","scode":"1113","sname":"营业收入"},"xsfy":{"id":"xsfy","scode":"1119","sname":"销售费用"},"zcfzv":{"id":"zcfzv","scode":"17","sname":"资产负债率"},"ldcz":{"id":"ldcz","scode":"114010","sname":"流动资产"},"shjlr":{"id":"shjlr","scode":"71","sname":"税后净利润"},"yysj":{"id":"yysj","scode":"1115","sname":"营业税金"},"ch":{"id":"ch","scode":"11401013","sname":"存贷"},"cwfy":{"id":"cwfy","scode":"1121","sname":"财务费用"},"yycb":{"id":"yycb","scode":"1114","sname":"营业成本"},"yszk":{"id":"yszk","scode":"11401011","sname":"应收账款"},"zzc":{"id":"zzc","scode":"70","sname":"总资产"}}}
		var slider_array=module["sliderItemScode"].split(",");
		console.dir(slider_array);
		 var params ={itemIndex:module["queryItemScode"],showDim:'item',povitDim:'item',queryFact:'B',company:'EVA1',type:"dupont",year :qj.year,month :qj.month,unit :qj.unit};
		 var toolsMap = module["toolsMap"];
		 var bean =  new Cnbi.model.Dupont({
			   id:module["id"],
		       slider_array:slider_array,
		       params:params,
		       progress_array:[
		           toolsMap["yysj1"]["scode"], 
		           toolsMap["xsfy1"]["scode"],
		           toolsMap["glfy1"]["scode"],
		           toolsMap["cwfy1"]["scode"],
				   toolsMap["yszk1"]["scode"],
				   toolsMap["qtysk1"]["scode"],
				   toolsMap["ch1"]["scode"],
				   toolsMap["fldzc1"]["scode"],
				   toolsMap["yycb1"]["scode"],
				   toolsMap["hbzj1"]["scode"],
				   toolsMap["ldzc1"]["scode"],
				   toolsMap["cbfyze"]["scode"],
                   toolsMap["zzc"]["scode"],
                   toolsMap["yysr1"]["scode"],
				   toolsMap["yysr2"]["scode"],
				   toolsMap["shjlr"]["scode"],
				   toolsMap["zzczzv"]["scode"],
				   toolsMap["xslrv"]["scode"],
				   toolsMap["qycs"]["scode"],
				   toolsMap["zzcjlv"]["scode"],
				   toolsMap["jzcsyv"]["scode"]],
		       updateInput:'Idinput',
		       judgeObj:{
		    	   jzcsyv:toolsMap["jzcsyv"]["scode"]},
		       doubleUIFlag:"pro",
		       pro:{width:91,height:18},
		       sli:{width:150,width2:100},
		       domArray:["jzcsylang","zzczzlang","_cnbi_chartId"],
		       companyName:company["text"],
		       module:module
		     
		       
		       
	 }); 
	 
	 //   var module = {"assistItems":{"assist_Items":[{"id":"zzc","scode":"cnbi1140","sname":"总资产"},{"id":"qtysk","scode":"cnbi10000","sname":"其它应收款"},{"id":"fzze","scode":"cnbi1141","sname":"负债总额"}],"qc_Items":[{"id":"zzcNC","scode":"cnbi11N40C","sname":"总资产"}]},"formulas":{"db_formulas":[{"id":"cbfyze","scode":"cnbi68","sname":"成本费用总额"},{"id":"zzc","scode":"cnbi70","sname":"总资产"},{"id":"shjlr","scode":"cnbi71","sname":"税后净利润"},{"id":"xslrv","scode":"cnbi73","sname":"销售净利率"},{"id":"qycs","scode":"cnbi76","sname":"权益乘数"},{"id":"jzcsyv","scode":"cnbi77","sname":"净资产收益率(含少数股东权益)"},{"id":"zcfzv","scode":"cnbi17","sname":"资产负债率"}],"userDefined_formulas":[{"exp":"11401010+11401011+11401013+10000","formula":"货币资金+应收账款+存货+其它应收款","id":"ldcz","params":"'11401010','11401011','11401013','10000'","scode":"cnbi114010","sname":"流动资产"},{"exp":"1113\/((1140+11N40C)\/2)","formula":"主营业务收入\/((期末资产总计+年初资产总计)\/2)","id":"zzczzv","params":"'1113','1140','11N40C'","scode":"cnbi74","sname":"总资产周转率"},{"exp":"((1113-1114+1115+1119+1120+1121-11291012)\\\/1113)*(1113\\\/((1140+11N40C)\\\/2))*100","formula":"((主营业务收入-主营业务成本+主营业务税金及附加+销售费用+管理费用+财务费用-所得税)\/主营业务收入)*(主营业务收入\/((期末资产总计+年初资产总计)\/2))*100","id":"zzcjlv","params":"'1113','1114','1115','1119','1120','1121','11291012','1140','11N40C'","scode":"cnbi75","sname":"总资产净利率"}],"assists_formulas":[{"exp":"114010-(1140c1010+1140c1011+1140c1013)","formula":"流动资产-(货币资金+应收账款+存货)","id":"qtysk","params":"'114010','1140c1010','1140c1011','1140c1013'","scode":"cnbi10000","sname":"其它应收款"}]},"id":"dopont","items":[{"id":"yysr","scode":"cnbi1113","sname":"营业收入"},{"id":"yycb","scode":"cnbi1114","sname":"营业成本"},{"id":"yysj","scode":"cnbi1115","sname":"营业税金"},{"id":"xsfy","scode":"cnbi1119","sname":"销售费用"},{"id":"glfy","scode":"cnbi1120","sname":"管理费用"},{"id":"cwfy","scode":"cnbi1121","sname":"财务费用"},{"id":"hbzj","scode":"cnbi11401010","sname":"货币资金"},{"id":"ch","scode":"cnbi11401013","sname":"存贷"},{"id":"sds","scode":"cnbi11291012","sname":"所得税"},{"id":"fldzc","scode":"cnbi114011","sname":"非流动资产"},{"id":"ldzc","scode":"cnbi114010","sname":"流动资产"},{"id":"yszk","scode":"cnbi11401011","sname":"应收账款"}],"queryItemScode":"cnbi1113,cnbi1114,cnbi1115,cnbi1119,cnbi1120,cnbi1121,cnbi11401010,cnbi11401013,cnbi11291012,cnbi114011,cnbi114010,cnbi11401011,cnbi1140,cnbi10000,cnbi1141;cnbi11N40C","sliderItemScode":"cnbi1113,cnbi1114,cnbi1115,cnbi1119,cnbi1120,cnbi1121,cnbi11401010,cnbi11401013,cnbi11291012,cnbi114011,cnbi114010,cnbi11401011","title":"杜邦预测模型","toolsMap":{"hbzj":{"id":"hbzj","scode":"cnbi11401010","sname":"货币资金"},"qtysk":{"id":"qtysk","scode":"cnbi10000","sname":"其它应收款"},"xslrv":{"id":"xslrv","scode":"cnbi73","sname":"销售净利率"},"fzze":{"id":"fzze","scode":"cnbi1141","sname":"负债总额"},"zzcjlv":{"id":"zzcjlv","scode":"cnbi75","sname":"总资产净利率"},"jzcsyv":{"id":"jzcsyv","scode":"cnbi77","sname":"净资产收益率(含少数股东权益)"},"qycs":{"id":"qycs","scode":"cnbi76","sname":"权益乘数"},"cwfy":{"id":"cwfy","scode":"cnbi1121","sname":"财务费用"},"zzc":{"id":"zzc","scode":"cnbi70","sname":"总资产"},"yycb":{"id":"yycb","scode":"cnbi1114","sname":"营业成本"},"sds":{"id":"sds","scode":"cnbi11291012","sname":"所得税"},"cbfyze":{"id":"cbfyze","scode":"cnbi68","sname":"成本费用总额"},"glfy":{"id":"glfy","scode":"cnbi1120","sname":"管理费用"},"ldzc":{"id":"ldzc","scode":"cnbi114010","sname":"流动资产"},"zzczzv":{"id":"zzczzv","scode":"cnbi74","sname":"总资产周转率"},"fldzc":{"id":"fldzc","scode":"cnbi114011","sname":"非流动资产"},"zzcNC":{"id":"zzcNC","scode":"cnbi11N40C","sname":"总资产"},"yysr":{"id":"yysr","scode":"cnbi1113","sname":"营业收入"},"xsfy":{"id":"xsfy","scode":"cnbi1119","sname":"销售费用"},"zcfzv":{"id":"zcfzv","scode":"cnbi17","sname":"资产负债率"},"ldcz":{"id":"ldcz","scode":"cnbi114010","sname":"流动资产"},"shjlr":{"id":"shjlr","scode":"cnbi71","sname":"税后净利润"},"ch":{"id":"ch","scode":"cnbi11401013","sname":"存贷"},"yysj":{"id":"yysj","scode":"cnbi1115","sname":"营业税金"},"yszk":{"id":"yszk","scode":"cnbi11401011","sname":"应收账款"}}};

	});